from django.conf.urls.defaults import *

from django.views.generic.simple import direct_to_template
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^pizza/', include('pizza.foo.urls')),
    (r"^$", direct_to_template, {"template":"index.html"}),
    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
    (r"^entrega/", include("pizza.entrega.urls")),
	(r"^accounts/login/$", "django.contrib.auth.views.login"),
)
